package com.cet.designpatterns.memento;

/**
 * 描述：备忘录
 * @author chenentao
 * @date 2021/9/24 10:00
 */
class Memento {

    private String state;

    public Memento(String state) {
        this.state = state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }
}
